/**
 * Created by XianTao on 2016/7/12
 * <p/>
 * Copyright (c) 2015-2015
 * Apache License
 * Version 2.0, January 2004
 * http://www.apache.org/licenses/
 */
package org.lego.wechat.base.msg.in.event;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
public class InLocationEvent extends EventInMsg {
    // 1. 自动发送位置
    public static final String EVENT_LOCATION = "location";

    private String latitude;    //纬度
    private String longitude;    //经度
    private String precision;    //精度
    private String label;   // 地理位置描述，原本没这个字段，是为了调用百度api由经纬度换算

    public InLocationEvent(String toUserName, String fromUserName, Integer createTime, String msgType, String event,
                           Integer agentId, Long msgId) {
        super(toUserName, fromUserName, createTime, msgType, event, agentId, msgId);
    }
}
